home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-27 | 750 b | 30 lines | [TEXT/KAHL] |
- //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- //| This file contains the interface to the CPath class. A CPath
- //| is a graphics primitive. It is path composed of line segments.
- //|________________________________________________________________________________
-
- #pragma once
- #include "CPrimitive.h"
- #include <iostream.h>
-
- CLASS CList;
- CLASS CPane;
-
- class CPath : public CPrimitive
- {
-
-
- public:
-
- CList *path_vertex_indices; // Vertices of this path (by index number)
-
- void IPath(CList *colors);
- void Dispose(void);
- void Read(void);
- void Draw(RGBColor *override_color, Point **screen_vertices,
- Rect *clip_rect, Boolean fAntialias);
-
- friend istream& operator>> (istream& s, CPath& path);
-
- };
-